package com.tudouji.project.bill.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.tudouji.framework.aspectj.lang.annotation.Excel;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * 生产报对象 producereport
 * 
 * @author tudouji
 * @date 2021-03-01
 */
@Data
public class ProducereportHistory
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 领料单编号 */
    @Excel(name = "领料单编号")
    private String plcode;

    /** 领料单状态 */
    @Excel(name = "领料单状态")
    private Long plstatus;

    /** 领料单时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "领料单时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date pldate;

    /** 组织名称 */
    @Excel(name = "组织名称")
    private String orgname;

    /** 组织ID */
    @Excel(name = "组织ID")
    private String orgguid;

    /** 总入库 */
    @Excel(name = "总入库")
    private BigDecimal inweight;

    /** 总出库 */
    @Excel(name = "总出库")
    private BigDecimal outweight;

    @Excel(name = "退料重量")
    private BigDecimal backweight;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date starttime;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endtime;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date creattime;

    /** 部门ID */
    @Excel(name = "部门ID")
    private String departid;

    /** 部门名称 */
    @Excel(name = "部门名称")
    private String departname;

    /** 库房ID */
    @Excel(name = "库房ID")
    private String srguid;

    /** 库房名称 */
    @Excel(name = "库房名称")
    private String srname;

    /** 库房名称 */
    @Excel(name = "生产计划ID")
    private String planguid;

    private List<ProducereportitemHistory> producereportitemList;

    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:dd")
    private Date orderdate;

    public String getPlanguid() {
        return planguid;
    }

    public void setPlanguid(String planguid) {
        this.planguid = planguid;
    }
    private String conditions;

    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:dd")
    private Date beginCreatedate;

    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:dd")
    private Date endCreatedate;

    private String operatorid;

    private Integer intype;

}
